#define _CRT_SECURE_NO_WARNINGS
#include<iostream>
#include<stdio.h>
#include<math.h>
using namespace std;
int pi = 3.141593;
int main()
{
	int num = 0;
	scanf("%d", &num);
	switch (num)
	{
	case 1:cout << "I love Luogu!"; break;
	case 2:cout << 2 + 4 << " " << 10 - 2 - 4 << endl; break;
	case 3:cout << 14 / 4 << endl << (14 / 4) * 4 << endl << 14 - (14 / 4) * 4 << endl; break;
	case 4:cout << 500.0 / 3 << endl; break;
	case 5:cout << (260 + 220) / (12 + 20) << endl; break;
	case 6: {
		double a = 6, b = 9;
		double c = sqrt(a * a + b * b);
		cout << c << endl;
	}break;
	case 7:cout << 100 + 10 << endl << 110 - 20 << endl << 0 << endl; break;
	case 8:cout << 2 * pi * 5 << endl << pi * 5 * 5 << endl << (4 / 3) * pi * 5 * 5 * 5 << endl; break;
	case 9:cout << (((1 + 1) * 2 + 1) * 2 + 1) * 2 << endl; break;
	case 10:cout << 9 << endl; break;
	case 11:cout << 100.0 / (8 - 5) << endl; break;
	case 12: {
		cout << 'M' - 'A' + 1 << endl;
		cout << char('A' - 1 + 18) << endl;
	}break;
	case 13: {
		int r1 = 4, r2 = 10;
		double v = 4.0 / 3 * pi * r1 * r1 * r1 + 4.0 / 3 * pi * r2 * r2 * r2;
		v = pow(v, 1.0 / 3);
		printf("%.01f", v);
	}break;
	case 14:cout << 50 << endl; break;
	}
	return 0;

}